Optimal. Leaf size=55 \[ \frac {\tan ^{-1}\left (\frac {2 \sqrt {c} \sqrt {a+b x+c x^2}}{\sqrt {b^2-4 a c}}\right )}{\sqrt {c} \sqrt {b^2-4 a c} d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 55, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {702, 211}
\begin {gather*} \frac {\text {ArcTan}\left (\frac {2 \sqrt {c} \sqrt {a+b x+c x^2}}{\sqrt {b^2-4 a c}}\right )}{\sqrt {c} d \sqrt {b^2-4 a c}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 211
Rule 702
Rubi steps
\begin {align*} \int \frac {1}{(b d+2 c d x) \sqrt {a+b x+c x^2}} \, dx &=(4 c) \text {Subst}\left (\int \frac {1}{2 b^2 c d-8 a c^2 d+8 c^2 d x^2} \, dx,x,\sqrt {a+b x+c x^2}\right )\\ &=\frac {\tan ^{-1}\left (\frac {2 \sqrt {c} \sqrt {a+b x+c x^2}}{\sqrt {b^2-4 a c}}\right )}{\sqrt {c} \sqrt {b^2-4 a c} d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.24, size = 62, normalized size = 1.13 \begin {gather*} -\frac {2 \tan ^{-1}\left (\frac {b+2 c x-2 \sqrt {c} \sqrt {a+x (b+c x)}}{\sqrt {b^2-4 a c}}\right )}{\sqrt {c} \sqrt {b^2-4 a c} d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(100\) vs.
\(2(45)=90\).
time = 0.83, size = 101, normalized size = 1.84
method | result | size |
default | \(-\frac {\ln \left (\frac {\frac {4 a c -b^{2}}{2 c}+\frac {\sqrt {\frac {4 a c -b^{2}}{c}}\, \sqrt {4 \left (x +\frac {b}{2 c}\right )^{2} c +\frac {4 a c -b^{2}}{c}}}{2}}{x +\frac {b}{2 c}}\right )}{d c \sqrt {\frac {4 a c -b^{2}}{c}}}\) | \(101\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.92, size = 174, normalized size = 3.16 \begin {gather*} \left [-\frac {\sqrt {-b^{2} c + 4 \, a c^{2}} \log \left (-\frac {4 \, c^{2} x^{2} + 4 \, b c x - b^{2} + 8 \, a c - 4 \, \sqrt {-b^{2} c + 4 \, a c^{2}} \sqrt {c x^{2} + b x + a}}{4 \, c^{2} x^{2} + 4 \, b c x + b^{2}}\right )}{2 \, {\left (b^{2} c - 4 \, a c^{2}\right )} d}, -\frac {\arctan \left (\frac {\sqrt {b^{2} c - 4 \, a c^{2}} \sqrt {c x^{2} + b x + a}}{2 \, {\left (c^{2} x^{2} + b c x + a c\right )}}\right )}{\sqrt {b^{2} c - 4 \, a c^{2}} d}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \frac {\int \frac {1}{b \sqrt {a + b x + c x^{2}} + 2 c x \sqrt {a + b x + c x^{2}}}\, dx}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.31, size = 65, normalized size = 1.18 \begin {gather*} \frac {2 \, \arctan \left (-\frac {2 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )} c + b \sqrt {c}}{\sqrt {b^{2} c - 4 \, a c^{2}}}\right )}{\sqrt {b^{2} c - 4 \, a c^{2}} d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {1}{\left (b\,d+2\,c\,d\,x\right )\,\sqrt {c\,x^2+b\,x+a}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________